package com.yixing.tech.wms.statistics.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class InventoryInitialization implements Serializable {

    private String workCode;
    private String pickLocationCode;
    private String containerCode;
    private String ab;
    private Boolean isProd;
    private String status;
    private String stockWarehouseCode;
    private String stockAreaCode;
    private String stockLocationCode;
    private String containerTypeId;
    private List<BillDet> dtls;

    private String createId;
    private String createName;
    private Date createTime;
    private String updateId;
    private String updateName;
    private Date updateTime;

    private String tenantId;
    private Integer isDelete;

    @Data
    @NoArgsConstructor
    @ToString
    public static class BillDet implements Serializable {

        private Material materialCode;
        private Double num;
        private String batchNo;
        private String colorName;
        private String languageName;
        private String partitionSide;
    }

    @Data
    @NoArgsConstructor
    @ToString
    public static class Material implements Serializable {
        private String code;
        private String materialName;
        private String unitName;
        private String abc;
    }
}
